[INFO] cloning repository https://github.com/sonald/redis-cli-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sonald/redis-cli-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonald%2Fredis-cli-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonald%2Fredis-cli-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5de760421f4d052d4a28001d1274ab90688d0fd3
[INFO] building sonald/redis-cli-rs against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonald%2Fredis-cli-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sonald/redis-cli-rs on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sonald/redis-cli-rs
[INFO] finished tweaking git repo https://github.com/sonald/redis-cli-rs
[INFO] tweaked toml for git repo https://github.com/sonald/redis-cli-rs written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/sonald/redis-cli-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 7546ca13934d24c4e25c0c374690d2cbd8f1187c12316d7c7e14352a693cc994
[INFO] running `Command { std: "docker" "start" "-a" "7546ca13934d24c4e25c0c374690d2cbd8f1187c12316d7c7e14352a693cc994", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7546ca13934d24c4e25c0c374690d2cbd8f1187c12316d7c7e14352a693cc994", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7546ca13934d24c4e25c0c374690d2cbd8f1187c12316d7c7e14352a693cc994", kill_on_drop: false }`
[INFO] [stdout] 7546ca13934d24c4e25c0c374690d2cbd8f1187c12316d7c7e14352a693cc994
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 517e4bbf3abfde026312c508355075a412821c613dfdf95b73075656325ae63d
[INFO] running `Command { std: "docker" "start" "-a" "517e4bbf3abfde026312c508355075a412821c613dfdf95b73075656325ae63d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.70
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling unicode-width v0.1.7
[INFO] [stderr]    Compiling arc-swap v0.4.6
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling utf8parse v0.2.0
[INFO] [stderr]    Compiling futures-core v0.3.5
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling pin-project-lite v0.1.5
[INFO] [stderr]    Compiling bytes v0.5.4
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.2
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.13
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling quote v1.0.5
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling syn v1.0.22
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling net2 v0.2.34
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling dirs-sys v0.3.4
[INFO] [stderr]    Compiling signal-hook-registry v1.2.0
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling clap v2.33.1
[INFO] [stderr]    Compiling dirs v2.0.2
[INFO] [stderr]    Compiling signal-hook v0.1.15
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling rustyline v6.1.2
[INFO] [stderr]    Compiling structopt-derive v0.4.7
[INFO] [stderr]    Compiling tokio v0.2.21
[INFO] [stderr]    Compiling structopt v0.3.14
[INFO] [stderr]    Compiling cedis v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `bytes::Bytes`
[INFO] [stdout]  --> src/redis.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bytes::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for type parameter `S` in the current scope
[INFO] [stdout]    --> src/redis.rs:117:24
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let mut ts = s.iter();
[INFO] [stdout]     |                        ^^^^ method not found in `S`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `map` exists for type `bool`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/redis.rs:118:30
[INFO] [stdout]     |
[INFO] [stdout] 118 |         match_value(&mut ts).map(|v| (v, s.as_ref().len() - ts.size_hint().0))
[INFO] [stdout]     |                              ^^^ method cannot be called on `bool` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `bool: Iterator`
[INFO] [stdout]             which is required by `&mut bool: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/redis.rs:67:32
[INFO] [stdout]    |
[INFO] [stdout] 67 |             ts.find(|&&c| c == '\n').is_some()
[INFO] [stdout]    |                                ^^^^ expected `u8`, found `char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `parse` found for type `bool` in the current scope
[INFO] [stdout]   --> src/redis.rs:80:54
[INFO] [stdout]    |
[INFO] [stdout] 80 |                         let mut n = match_string(ts).parse::<i32>().unwrap_or(0);
[INFO] [stdout]    |                                                      ^^^^^ method not found in `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/redis.rs:82:29
[INFO] [stdout]    |
[INFO] [stdout] 70 |         fn match_value<'a>(ts: &mut impl DoubleEndedIterator<Item = &'a u8>) -> bool {
[INFO] [stdout]    |                                                                                 ---- expected `bool` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 82 |                             Some(RedisValue::Nil)
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found enum `Option`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `bool`
[INFO] [stdout]               found enum `Option<redis::RedisValue>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/redis.rs:94:29
[INFO] [stdout]    |
[INFO] [stdout] 70 |         fn match_value<'a>(ts: &mut impl DoubleEndedIterator<Item = &'a u8>) -> bool {
[INFO] [stdout]    |                                                                                 ---- expected `bool` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 94 |                             Some(RedisValue::Bulk(String::from_utf8_lossy(&buf).to_string()))
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found enum `Option`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `bool`
[INFO] [stdout]               found enum `Option<redis::RedisValue>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `parse` found for type `bool` in the current scope
[INFO] [stdout]   --> src/redis.rs:98:63
[INFO] [stdout]    |
[INFO] [stdout] 98 |                         Some(RedisValue::Int(match_string(ts).parse::<i64>().unwrap_or(0)))
[INFO] [stdout]    |                                                               ^^^^^ method not found in `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/redis.rs:98:25
[INFO] [stdout]    |
[INFO] [stdout] 70 |         fn match_value<'a>(ts: &mut impl DoubleEndedIterator<Item = &'a u8>) -> bool {
[INFO] [stdout]    |                                                                                 ---- expected `bool` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 98 |                         Some(RedisValue::Int(match_string(ts).parse::<i64>().unwrap_or(0)))
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found enum `Option`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `bool`
[INFO] [stdout]               found enum `Option<redis::RedisValue>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `parse` found for type `bool` in the current scope
[INFO] [stdout]    --> src/redis.rs:101:50
[INFO] [stdout]     |
[INFO] [stdout] 101 |                         let n = match_string(ts).parse::<usize>().unwrap_or(0);
[INFO] [stdout]     |                                                  ^^^^^ method not found in `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for type `bool` in the current scope
[INFO] [stdout]    --> src/redis.rs:103:57
[INFO] [stdout]     |
[INFO] [stdout] 103 | ...                   let value = match_value(ts).expect("invalid resp");
[INFO] [stdout]     |                                                   ^^^^^^ method not found in `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redis.rs:108:25
[INFO] [stdout]     |
[INFO] [stdout] 70  |         fn match_value<'a>(ts: &mut impl DoubleEndedIterator<Item = &'a u8>) -> bool {
[INFO] [stdout]     |                                                                                 ---- expected `bool` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 108 |                         Some(RedisValue::Array(res))
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `bool`
[INFO] [stdout]                found enum `Option<redis::RedisValue>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redis.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout] 70  |         fn match_value<'a>(ts: &mut impl DoubleEndedIterator<Item = &'a u8>) -> bool {
[INFO] [stdout]     |                                                                                 ---- expected `bool` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 113 |                 None
[INFO] [stdout]     |                 ^^^^ expected `bool`, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `bool`
[INFO] [stdout]                found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cedis`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "517e4bbf3abfde026312c508355075a412821c613dfdf95b73075656325ae63d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "517e4bbf3abfde026312c508355075a412821c613dfdf95b73075656325ae63d", kill_on_drop: false }`
[INFO] [stdout] 517e4bbf3abfde026312c508355075a412821c613dfdf95b73075656325ae63d
